'use strict'
import React, { Component, PropTypes } from 'react'

import IndexHeader from './IndexHeader'
import SubHeader from './SubHeader'

class Header extends Component {

    render() {
        let title = this.props.title;
        return (
            <div className="header">
                <div className="left">
                    <a className="home"><img src="../../../asset/img/icon/icon_back_n.png" className="ib"/></a>
                </div>
                <div className="tit">
                    <h2><span className="title">{title}</span></h2>
                </div>
                <div className="right">
                    <a href="javascript:;">
                        <div className="icon icon-search"></div>
                    </a>
                </div>
            </div>
        )

    }
}

export default Header;